export default [
  {
    title: 'menu.cashier',
    path: '/cashier',
    icon: 'pay-circle',
    permission: [],
    children: []
  },
  {
    title: 'menu.dashboard',
    path: '/dashboard',
    icon: 'desktop',
    permission: [],
    children: []
  },
  {
    title: 'menu.setting',
    path: '/setting',
    icon: 'setting',
    permission: [],
    children: [
      {
        title: 'menu.settingCustomer',
        path: '/setting/customer',
        icon: 'setting',
        permission: [],
        children: [
          {
            title: 'menu.settingCustomerViplevel',
            path: '/setting/customer/viplevel',
            icon: 'setting',
            permission: []
          },
          {
            title: 'menu.settingCustomerRights',
            path: '/setting/customer/rights',
            icon: 'setting',
            permission: []
          }
        ]
      },
      {
        title: 'menu.settingGuide',
        path: '/setting/guide',
        icon: 'setting',
        permission: []
      },
      {
        title: 'menu.settingShortMessage',
        path: '/setting/short-message',
        icon: 'setting',
        permission: []
      },
      {
        title: 'menu.settingLogistics',
        path: '/setting/logistics',
        icon: 'setting',
        permission: []
      },
      {
        title: 'menu.settingInvoice',
        path: '/setting/invoice',
        icon: 'setting',
        permission: []
      },
      {
        title: 'menu.settingWechat',
        path: '/setting/wechat',
        icon: 'setting',
        permission: []
      },
      {
        title: 'menu.settingCommon',
        path: '/setting/common',
        icon: 'setting',
        permission: []
      },
      {
        title: 'menu.settingGoods',
        path: '/setting/goods',
        icon: 'setting',
        permission: []
      },
      {
        title: 'menu.settingStaff',
        path: '/setting/staff',
        icon: 'setting',
        permission: [],
        children: [
          {
            title: 'menu.settingStaffList',
            path: '/setting/staff/list',
            icon: 'setting',
            permission: []
          },
          {
            title: 'menu.settingStaffRole',
            path: '/setting/staff/role',
            icon: 'setting',
            permission: []
          }
        ]
      },
      {
        title: 'menu.settingStore',
        path: '/setting/store',
        icon: 'setting',
        permission: []
      }
    ]
  },
  {
    title: 'menu.goods',
    path: '/goods',
    icon: 'shopping',
    permission: [],
    children: [
      {
        title: 'menu.goodsInventory',
        path: '/goods/inventory',
        icon: 'goods',
        permission: [],
        children: [
          {
            title: 'menu.goodsInventoryQuery',
            path: '/goods/inventory/query',
            icon: 'goods',
            permission: []
          },
          {
            title: 'menu.goodsInventoryWarning',
            path: '/goods/inventory/warning',
            icon: 'goods',
            permission: []
          },
          {
            title: 'menu.goodsInventoryEnter',
            path: '/goods/inventory/enter',
            icon: 'goods',
            permission: []
          },
          {
            title: 'menu.goodsInventoryOut',
            path: '/goods/inventory/out',
            icon: 'goods',
            permission: []
          },
          {
            title: 'menu.goodsInventoryCheck',
            path: '/goods/inventory/check',
            icon: 'goods',
            permission: []
          },
          {
            title: 'menu.goodsInventoryDetail',
            path: '/goods/inventory/detail',
            icon: 'goods',
            permission: []
          },
          {
            title: 'menu.goodsInventoryManage',
            path: '/goods/inventory/manage',
            icon: 'goods',
            permission: []
          }
        ]
      },
      {
        title: 'menu.goodsManage',
        path: '/goods/manage',
        icon: 'goods',
        permission: [],
        children: [
          {
            title: 'menu.goodsManageList',
            path: '/goods/manage/list',
            icon: 'goods',
            permission: []
          },
          {
            title: 'menu.goodsManageCategorye',
            path: '/goods/manage/category',
            icon: 'goods',
            permission: []
          },
          {
            title: 'menu.goodsManageBrand',
            path: '/goods/manage/brand',
            icon: 'goods',
            permission: []
          }
        ]
      }
    ]
  },
  {
    title: 'menu.customer',
    path: '/customer',
    icon: 'user',
    permission: [],
    children: [
      {
        title: 'menu.customerCustomer',
        path: '/customer/customer',
        icon: 'customer',
        permission: []
      },
      {
        title: 'menu.customerVip',
        path: '/customer/vip',
        icon: 'customer',
        permission: []
      },
      {
        title: 'menu.customerOperate',
        path: '/customer/operate',
        icon: 'customer',
        permission: [],
        children: [
          {
            title: 'menu.customerOperateIntegral',
            path: '/customer/operate/integral',
            icon: 'customer',
            permission: []
          },
          {
            title: 'menu.customerOperateSigned',
            path: '/customer/operate/signed',
            icon: 'goods',
            permission: []
          }
        ]
      }
    ]
  },
  {
    title: 'menu.order',
    path: '/order',
    icon: 'ordered-list',
    children: [
      {
        title: 'menu.orderManage',
        path: '/order/manage',
        icon: 'order',
        permission: []
      },
      {
        title: 'menu.orderHandle',
        path: '/order/handle',
        icon: 'order',
        permission: [],
        children: [
          {
            title: 'menu.orderHandleSendOut',
            path: '/order/handle/send-out',
            icon: 'order',
            permission: []
          },
          {
            title: 'menu.orderHandleSelfRaising',
            path: '/order/handle/self-raising',
            icon: 'order',
            permission: []
          },
          {
            title: 'menu.orderHandleSameCity',
            path: '/order/handle/same-city',
            icon: 'order',
            permission: []
          },
          {
            title: 'menu.orderHandleAfterSales',
            path: '/order/handle/after-sales',
            icon: 'goods',
            permission: []
          }
        ]
      },
      {
        title: 'menu.orderDistribution',
        path: '/order/distribution',
        icon: 'order',
        permission: [],
        children: [
          {
            title: 'menu.orderDistributionFreight',
            path: '/order/distribution/freight',
            icon: 'order',
            permission: []
          },
          {
            title: 'menu.orderDistributionSameCity',
            path: '/order/distribution/same-city',
            icon: 'order',
            permission: []
          },
          {
            title: 'menu.orderDistributionSelfRaising',
            path: '/order/distribution/self-raising',
            icon: 'order',
            permission: []
          }
        ]
      }
    ]
  },
  {
    title: 'menu.application',
    path: '/application',
    icon: 'user',
    children: []
  }
]
